package com.wjk.StuManager.Controller;

import com.wjk.StuManager.Domain.Student;
import com.wjk.StuManager.Service.StuService;

import java.util.Scanner;

public class OtherStuController extends BaseStuController{
    private Scanner sc=new Scanner(System.in);
    public Student inputStuInfo(String id){
        System.out.println("请输入姓名：");
        String name=sc.next();
        System.out.println("请输入年龄：");
        String age=sc.next();
        System.out.println("请输入生日：");
        String birthday=sc.next();
        Student stu=new Student(id,name,age,birthday);
        return stu;
    }
}
